package com.vf.admin.client.common;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

public class ClientConstants {
    public static String client_toke = "token"; //客户端登录唯一标识
    public static String client_usertoken = "token:"; //客户端登录唯一标识

    public static String packageName = "packageName"; //客户端登录唯一标识


    public static Integer tuiguang_yiji = 1;//推广一级类型
    public static Integer tuiguang_erji = 2;//推广二级类型


    /**
     * 消息推送存储
     */
    public static Map<String, Object> xiaoxiCacheMap = new HashMap<String, Object>();


    //年收入
    public static final Integer nsr_a = 1;//5万以下
    public static final Integer nsr_b = 2;//5-10万
    public static final Integer nsr_c = 3;//10-20万
    public static final Integer nsr_d = 4;//20-30万
    public static final Integer nsr_e = 5;//30-50万
    public static final Integer nsr_f = 6;//50-100万
    public static final Integer nsr_g = 7;//100万以上

    public static Map<Integer, String> getNianShouRuMap() {
        Map<Integer, String> map = new LinkedHashMap<Integer, String>();
        map.put(nsr_a, "5万以下");
        map.put(nsr_b, "5-10万");
        map.put(nsr_c, "10-20万");
        map.put(nsr_d, "20-30万");
        map.put(nsr_e, "30-50万");
        map.put(nsr_f, "50-100万");
        map.put(nsr_g, "100万以上");
        return map;
    }

    //年收入
    public static final Integer edu_a = 1;//5万以下
    public static final Integer edu_b = 2;//5-10万
    public static final Integer edu_c = 3;//10-20万
    public static final Integer edu_d = 4;//20-30万
    public static final Integer edu_e = 5;//30-50万

    public static Map<Integer, String> getEduRuMap() {
        Map<Integer, String> map = new LinkedHashMap<Integer, String>();
        map.put(edu_a, "专科");
        map.put(edu_b, "本科");
        map.put(edu_c, "双学士");
        map.put(edu_d, "硕士");
        map.put(edu_e, "博士");
        return map;
    }


    //身高
    public static Map<Integer, String> getShenGaoMap() {
        Map<Integer, String> map = new LinkedHashMap<Integer, String>();
        int shengao = 140;
        for (int i = 1; i <= 111; i++) {
            map.put(i, shengao + "cm");
            shengao++;
        }
        return map;
    }


    //体重
    public static Map<Integer, String> getTiZhongMap() {
        Map<Integer, String> map = new LinkedHashMap<Integer, String>();
        int tizhong = 35;
        for (int i = 1; i <= 86; i++) {
            map.put(i, tizhong + "kg");
            tizhong++;
        }
        return map;
    }

    /**
     * 操作状态
     */
    public static final Integer cz_yes = 1;//可以
    public static final Integer cz_no = 2;//不可以

    /**
     * 未实名认证用户 每天可发送文字消息的数量
     */
    //public static final Integer wsm_daysend_num = 10;


    /**
     * 实名认证审核状态
     */
    public static final Integer sm_sh_tg = 1;//审核通过
    public static final Integer sm_sh_wtg = 2;//审核不通过
    public static final Integer sm_sh_zash = 3;//正在审核

    /**
     * 视频认证审核状态
     */
    public static final Integer sp_sh_tg = 1;//审核通过
    public static final Integer sp_sh_wtg = 2;//审核不通过
    public static final Integer sp_sh_zash = 3;//正在审核

    /**
     * PK一局的时间
     * 毫秒
     * 秒
     */
    public static final long PKTIME = 6 * 60 * 1000;
    public static final long PKTIMES = 6 * 60;

    public static class UserAuth {
        public static final String REAL_AUTH = "REAL_AUTH"; //真人认证
        public static final String MOBILE_AUTH = "MOBILE_AUTH"; //手机认证
        public static final String REAL_NAME_AUTH = "REAL_NAME_AUTH"; //实名认证
        public static final String EDU_AUTH = "EDU_AUTH"; //学历认证
        public static final String CAR_AUTH = "CAR_AUTH"; //车辆认证
        public static final String HOUSE_AUTH = "HOUSE_AUTH"; //房产认证
        public static final String VOICE = "VOICE"; //语音签名
    }

    public static class TaskOnce {
        public static final String PERFECT_INFO = "PERFECT_INFO"; //完善资料
        public static final String REAL_NAME = "REAL_NAME"; //实名认证
        public static final String RECHARGE_FIRST = "RECHARGE_FIRST"; //充值第一笔
        public static final String GIFT_ONCE = "GIFT_ONCE"; //送一次礼物
        public static final String WATCH_LIVE_ONCE = "WATCH_LIVE_ONCE"; //观看一场直播
        public static final String JOIN_FAMILY = "JOIN_FAMILY"; //加入一个家族
        public static final String DYNAMIC_COMMEND = "DYNAMIC_COMMEND"; //给3条动态评论
        public static final String FOCUS_USER = "FOCUS_USER"; //关注3个人
        public static final String VOICE_SIGNATURE = "VOICE_SIGNATURE"; //录语音签名
    }

    public static class TaskEveryDay {
        public static final String SIGNON = "SIGNON"; //每日签到
        public static final String HEART_BEAT = "HEART_BEAT"; //心动异性
        public static final String MESSAGE_CHAT = "MESSAGE_CHAT"; //私信聊天
        public static final String VOICE_CHAT = "VOICE_CHAT"; //语音聊天
        public static final String VIDEO_CHAT = "VIDEO_CHAT"; //视频通话
        public static final String SEND_DYNAMIC = "SEND_DYNAMIC"; //每日发动态奖励
    }

    public static class DynamicAlert {
        public static final Integer PARSE_DYNAMIC = 1; //点赞了我的动态
        public static final Integer COMMEND_DYNAMIC = 2; //评论了我的动态
        public static final Integer PARSE_COMMEND = 3; //点赞了我的评论
        public static final Integer REPLY_COMMENT = 4; //回复了我的评论
    }

}
